package com.evil.common.oss.config;

import com.evil.common.oss.props.LocalOssProperty;
import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * 读取项目相关配置
 *
 * @author liyang
 */
@Data
@EnableConfigurationProperties(LocalOssProperty.class)
@ConditionalOnProperty(prefix = "oss.local", value ="enabled", havingValue = "true")
public class LocalOssConfiguration {
}
